@charset "utf-8";
//导航栏的背景颜色
.navbar-default{
    background-color: #222222;
    margin-bottom: 0;
    border:none;
    border-radius: 0;
    .container-fluid{
        max-width:1000px;
        .navbar-header{
            .navbar-brand{
                padding-top:7px; 
            }
        }
        #navbar{
            .navbar-nav{
                .dropBtn{
                    &:link{
                        background-color:#080808;
                        color:#fff;
                    }
                }
            }
           
        }
    } 
}
//导航栏的a标签颜色
.navbar-default .navbar-nav > li > a{
    color:#858585;
}
//导航激活类的样式
.navbar-default .navbar-nav > .active > a,.navbar-default .navbar-nav > .active > a:hover{
    background-color: #080808;
    color:#fff;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav >li > a:focus{
    color:#fff;
}
.navbar-default .navbar-nav #dropBtn{
    background-color: #fff;
    color:#222222;
}
.navbar-default .navbar-nav .open a:focus{
    background-color: #080808;
    color:#fff;
}
.navbar-default .navbar-toggle{
    border-color:transparent;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus{
    background-color: #080808;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form{
    border-color:transparent;
}
//logo位置
.navbar-brand{
    padding-top:0;
    padding-bottom: 0;
}
//1 LayaFlash
.banner_section{
    background-color: #8bc01f;
    overflow: hidden;
    .banner{
       max-width:1000px;
        margin-top:60px;
        margin-bottom:60px;
        .banner_text{
            color:#fff;
            h2{
                font-size:40px;
                span{
                    display: inline-block;
                    width:55px;
                    height:55px;
                    background-color: #fff;
                    color:#8bc01f;
                    text-align: center;
                    line-height: 55px;
                    font-size:40px;
                    margin-right:10px;
                }
            }
            h3{
                padding-left:15px;
            }
            p{
                line-height:25px;
                margin-bottom:25px;
                padding-left:15px;
            }
            input{
                width:100px;
                height:34px;
                line-height:34px;
                text-align: center;
                color:#8bc01f;
                background-color: #e8f2d2;
                outline: none;
                border:none;
                border-radius: 5px;
                margin-left:15px;
            }
        }
        .banner_img{
           img {
               width:100%;
           }
        }
    }
}
// 2 LayaFlash
.flash_section{
    background-color: #3393df;
    .flash{
        max-width:1000px;
        color:#fff;
        padding-top:60px;
        padding-bottom:80px;
        .flash_title{
            h2{
                font-size:40px;
                span{
                    display: inline-block;
                    width:55px;
                    height:55px;
                    background-color: #fff;
                    color:#3393df;
                    text-align: center;
                    line-height: 55px;
                    font-size:40px;
                    margin-right:10px;
                }
            }
        }
        .flash_img{
            margin-top:110px;
        }
        #flash_img{
            margin-top:0;
        }
        .flash_text{
            h4{
                font-size:20px;
            }
            p{
                font-size:14px;
                line-height:25px;
            }
        }
    }
}
//LayaAir样式
.layaAir_section{
    overflow: hidden;
    .layAir{
        max-width:1000px;
        margin-top:80px;
        margin-bottom:80px;
        .layAir_text{
            h2{
                font-size:40px;
                color:#3393df;
                span{
                    display: inline-block;
                    width:55px;
                    height:55px;
                    background-color: #3393df;
                    color:#fff;
                    text-align: center;
                    line-height: 55px;
                    font-size:40px;
                    margin-right:10px;
                }
            }
            p{
                font-size:13px;
                color:#848484;
                line-height: 20px;
            }
            h4{
                color:#3393df;
                font-size:15px;
            }
            .text{
                padding-left:20px;
            }
            img{
                display: block;
                transform: scale(0.8);
                margin:auto;
            }
        }
    }
}
#LayaStore_section{
    background-color: #f7f7f7;
}
//脚部样式
footer{
    background-color: #3b3b3b;
    .footer{
        max-width:1000px;
        height:100px;
        .footer_text{
           a{
               margin-top:30px;
               display: inline-block;
               line-height: 26px;
               padding-right:10px;
               color:#a1a3ab;
               &:hover{
                   color:#fff;
                   text-decoration: none;
               }
           }
            p{
                color:#a1a3ab;
            }
        }
        .footer_img{
            margin-top:30px;
            text-align: right;
            a{
                padding-left:10px;
                position: relative;
                .img{
                    display: none;
                    position: absolute;
                    top:-160px;
                    left:-40px;
                    z-index:999;
                }
                &:hover .img{
                    display: block;
                }
            }
        }
    }
}
//媒体查询


@media screen and (min-width:768px) and (max-width:991px){
    .banner_section{
        .banner{
            .banner_img{
                img{
                    transform: scale(0.8);
                }
                
            }
        }
    }
    .flash_section{
        .flash{
            .flash_img{
               img{
                   transform: scale(0.8);
               }
              
            }
            #flash_img{
                margin-top:0;
            }
        }
    }
    .layaAir_section{
        .layAir{
            .layAir_text{
                img{
                    margin-right:20px;
                }
                p{
                    height:60px;
                    line-height:20px;
                }
            }
        }
    }
    footer{
        background-color: #3b3b3b;
        overflow: hidden;
        .footer{
           .footer_img{
               padding-right:20px;
               padding-bottom:20px;
           }
        }
    }
}
@media screen and (min-width:480px) and (max-width:767px){
    .layaAir_section{
        .layAir{
            .layAir_text{
                img{
                    margin-right:20px;
                }
            }
        }
    }
    .banner_section{
        .banner{
            .banner_img{
                img{
                    display: block;
                    margin:auto;
                }
                
            }
        }
    }
    footer{
        background-color: #3b3b3b;
        overflow: hidden;
        .footer{
           .footer_img{
               padding-right:20px;
               padding-bottom:20px;
           }
        }
    }
}
@media screen and (max-width:480px){
    .banner_section{
        .banner{
            .banner_img{
                img{
                    display: block;
                   // transform: scale(0.8);
                    
                }
            }
        }
    }
    footer{
        .footer{
            .footer_img{
                display: none;
            }
        }
    }
    .layaAir_section{
        .layAir{
            .layAir_text{
               p{
                   line-height:30px;
               }
            }
        }
    }
}